// service/impl/SystemSettingServiceImpl_six.java
package com.scuec.groupfive.service.impl;

import com.scuec.groupfive.entity.SystemSetting_six;  // 修改导入类
import com.scuec.groupfive.mapper.SystemSettingMapper_six;  // 修改导入类
import com.scuec.groupfive.service.SystemSettingService_six;  // 修改导入类
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SystemSettingServiceImpl_six implements SystemSettingService_six {  // 修改类名和实现接口

    @Autowired
    private SystemSettingMapper_six systemSettingMapper;  // 修改注入的Mapper类型

    @Override
    public SystemSetting_six getLatestSystemSetting() {  // 修改返回类型
        return systemSettingMapper.getLatestSystemSetting();
    }

    @Override
    public int updateSystemSetting(SystemSetting_six systemSetting) {
        int i = systemSettingMapper.updateSystemSetting(systemSetting);
        return i;
    }


    @Override
    public int updateSystemSetting_six(SystemSetting_six systemSetting) {
        int i = systemSettingMapper.updateSystemSetting(systemSetting);
        return i;
    }
}